package com.longqin.wechat.entity;

import java.io.Serializable;

/**微信错误码
 * @author longqin
 *
 */
public class WeChatCode implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private int errcode;//微信错误码，-1为自定义错误
	
	private String errmsg;//微信错误信息
	
	public WeChatCode() {
		super();
	}

	public WeChatCode(String errmsg) {
		this.errcode=-1;
		this.errmsg=errmsg;
	}
	
	public WeChatCode(int errcode,String errmsg) {
		this.errcode=errcode;
		this.errmsg=errmsg;
	}

	public int getErrcode() {
		return errcode;
	}

	public void setErrcode(int errcode) {
		this.errcode = errcode;
	}

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}

}
